function Title(props) {
  const title = props.title ? props.title : "";
  const color = props.color ? props.color : "#3498db";

  const style = {
    height: "24px",
    lineHeight: "24px",
    fontSize: 20,
    borderLeft: "4px solid " + color,
    paddingLeft: 16,
    fontWeight: "bold",
    color: "rgba(0, 0, 0, 0.88)",
    ...props.style,
  };
  return <div style={style}> {title} </div>;
}
export default Title;
